package com.macro.mall.mapper;

import com.macro.mall.model.CommentRes;
import com.macro.mall.model.PmsProductComment;
import com.macro.mall.model.ProductComment;

/**
 * @Author：尚志豪
 * @Package：com.macro.mall.mapper
 * @Project：mall-swarm-B
 * @name：PmsProductCommentMapper
 * @Date：2024/10/29 20:40
 */
public interface PmsProductCommentMapper {
    void addComment(CommentRes commentRes);

    PmsProductComment selectBySkuId(Long id);

    ProductComment findComments(Long productId);

    int Counthao();

    int CountSum();
}
